package com.example.demospring3_2.service;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

@HttpExchange("https://www.baidu.com")
public interface DemoService {
    @GetExchange(url = "/s")
    public String getBaidu(@RequestParam("wd") String wd);
}
